package com.example.springbook.CarTest;

public class Car {
    //车依赖于车身
    private Framwork framwork;
    public Car(int size) {
        framwork = new Framwork(size);
        System.out.println("Car init....");
    }
    public void run(){
        System.out.println("car run....");
    }
}
